package model;

import java.util.ArrayList;

/**
 *
 * @author Maja
 */
public class TilknyttetKamp {

    private final int ID;
    private final int antal;
    private final int stkPris;
    private final ArrayList<Vare> vareList;
    
    public TilknyttetKamp (int ID, int antal, int stkPris){
        this.ID = ID;
        this.antal = antal;
        this.stkPris = stkPris;
        this.vareList = new ArrayList<>();
    }
    
    public int getID(){
        return ID;
    }
    
    public int getAntal() {
        return antal;
    }
    
    public int getStkPris () {
         return stkPris;
    }
    
    public ArrayList<Vare> getVareList() {
        return vareList;
    }
   
    public String toString(){
        return "TilknyttetKamp: " + ID;  
    }
}
